package com.jxbai.design.pattern.dcxy.factory.method;

/**
 * @author jxbai
 * @date 2021/12/13 0013
 */
public class MainTest {

    public static void main(String[] args) {
        WuLinFactory vanFactory = new WuLinVanFactory();
        vanFactory.newCar().run();

        WuLinFactory miniFactory = new WuLinMiniFactory();
        miniFactory.newCar().run();
    }
}
